package com.qf.ym.entity;

import java.util.Date;
import java.util.List;

public class OrderEntity {
        private String oid;
        private int aid;
        private int ostatus=1;//订单状态
        private Date ocreateDate;//订单创建时间
        private float ototalPrice;//订单总价
        private int addressId;//订单地址
        private int isdelete=-1;//是否删除订单

        private AddressEntity adr;
        private UserEntity user;
        private List<OrderDetailEntity> orderDetailEntities;

    public AddressEntity getAdr() {
        return adr;
    }

    public void setAdr(AddressEntity adr) {
        this.adr = adr;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public UserEntity getUser() {
        return user;
    }

    public void setUser(UserEntity user) {
        this.user = user;
    }

    public List<OrderDetailEntity> getOrderDetailEntities() {
        return orderDetailEntities;
    }

    public void setOrderDetailEntities(List<OrderDetailEntity> orderDetailEntities) {
        this.orderDetailEntities = orderDetailEntities;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public int getOstatus() {
        return ostatus;
    }

    public void setOstatus(int ostatus) {
        this.ostatus = ostatus;
    }

    public Date getOcreateDate() {
        return ocreateDate;
    }

    public void setOcreateDate(Date ocreateDate) {
        this.ocreateDate = ocreateDate;
    }

    public float getOtotalPrice() {
        return ototalPrice;
    }

    public void setOtotalPrice(float ototalPrice) {
        this.ototalPrice = ototalPrice;
    }

    public int getAddressId() {
        return addressId;
    }

    public void setAddressId(int addressId) {
        this.addressId = addressId;
    }



}
